/*
 ============================================================================
 Name        : InputNumberDlg.h
 Author      :
 Version     :
 Copyright   : Your copyright notice
 Description : InputNumberDlg declaration
 ============================================================================
 */

#ifndef InputNumberDlg_H
#define InputNumberDlg_H

// INCLUDES
#include <e32std.h>
#include "fDialog.h"
#include "fImage.h"
#include "fListbox.h"
#include "fEditor.h"

class InputNumberDlg : public fDialog
{
public:
    static InputNumberDlg* NewL( fEngine* aFramework );
    static InputNumberDlg* NewLC( fEngine* aFramework );
    ~InputNumberDlg( );
private:
    InputNumberDlg( );
    void ConstructL( fEngine* aFramework );
protected:
    virtual void DrawClient( TRect aRect );
public:
    void Show( const TDesC& aTitle );
    void Update( );
public:
    fEditor* _editor;
    HBufC* _bankName;
protected:
    virtual void PrepareDiglogDisappear( );
    virtual int ContentHandleKey( f_KEY_DES* aKeyDes );
    virtual int ContentHandleMouse( fMouseEvent nType, TPoint sPoint );
    virtual void ContentLostFocus( )
    {
        _editor->SetFocus( EFalse );
    }
private:
    CFont* _content_font;
};

#endif // InputNumberDlg_H
